#pragma once

/* 进程扇 */
#include "dameon.h"

class CMasterProcess {
public:
    int HttpdInitSignals();
    int StartWorkerProcesses(nlu_cycle_t *cycle, int proc_num);
    void HttpdSignalHandler(int signo);
    int StartWorkerProcesses(int proc_num);
    int SignalWorkerProcesses();
    int CreateProcess(nlu_cycle_t *cycle);
    int ChildRealLive();
    int MasterProcessCycle();
};
